<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common.jsp"%>
<script type="text/javascript">
function save()
{
   	  var auditForm=$("#form1");   
      auditForm.submit(); 
      $.pdialog.closeCurrent();
}
</script>
<div class="pageContent">
	<form id="form1" method="post" action="${rootDir }/system/edit.user.do" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<input type="hidden" name="TOKEN" id="TOKEN" value="${TOKEN}">
		<input type="hidden" name="pagetype" id="pagetype" value="edit">	
		<input type="hidden" name="uid" id="uid" value="${obj.id}">	
		<input type="hidden" name="isuse" id="isuse" value="${obj.isuse}">	
		<div class="pageFormContent" layoutH="56">
			<p>
			  <label>code：</label>
				<input id="tCode" name="tCode" class="required lettersonly" type="text" size="30" value="${obj.TCode}" alt=""/>
		  	</p>
		  	<p>
			  <label>名称：</label>
				<input id="tName" name="tName" class="required" type="text" size="30" value="${obj.TName}" alt=""/>
		  	</p>
		  	<p>
				<label>密码：</label> 
				<input id="password" name="password" class="required lettersonly" type="password" size="30" value="${obj.password}" />
			</p>
		  	<p>
				<label>账户类型：${obj.userstat}</label> 
				<select id="userstat" name="userstat" class="required combox">
					<option value="0" <c:if test="${obj.userstat==0 }">selected</c:if>>收款账户</option>
					<option value="1" <c:if test="${obj.userstat==1 }">selected</c:if>>登录账户</option>
					<option value="2" <c:if test="${obj.userstat==2 }">selected</c:if>>其他账户</option>
				</select>
		  	</p>
		  	<p>
			  <label>备注：</label>
				<input id="remark" name="remark" type="text" size="30" value="${obj.remark}" alt=""/>
		  	</p>
		  	<p>
		  	 <label>说明：</label>
				<textarea cols="65" rows="5" id="introduction" name="introduction">${obj.introduction}</textarea>
		  	</p>				
	  </div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>淇濆瓨</span></a></li>-->
				<li><div class="buttonActive">
					<div class="buttonContent">
					<button type="submit">保存</button></div></div></li>
				<li>
					<div class="button">
					<div class="buttonContent">
					<button type="button" class="close">取消</button>
					</div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
